package com.liangzong.betspider.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

//盘口
@Data
@ApiModel
@Table(name = "t_point")
public class TeamPoint {

    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "ha")
    private String ha = "0";
    //让分
    @Column(name = "hd")
    private String hd = "0";
    //赔率
    @Column(name = "od")
    private String od = "0";
    //赔率
    @Column(name = "odds")
    private BigDecimal odds = new BigDecimal(0);
    //排序
    @Column(name = "sort")
    private String sort = "0";
    @Column(name = "add_time")
    private LocalDateTime addTime;
    @Column(name = "team_type")
    private int teamType;
    @Column(name = "team_id")
    private String teamId;

}
